package com.ciei.dpagm.entity;

import com.baomidou.mybatisplus.annotation.*;

@TableName(value = "common_region")
public class Region  implements java.io.Serializable{
    public Region(Integer regionId, String regionName, Integer isDelete) {
        this.regionId = regionId;
        this.regionName = regionName;
        this.isDelete = isDelete;
    }

    @TableId(type = IdType.AUTO)
    private  Integer  regionId;
    private  String   regionName;
    private String regionDescribe;
    private  Integer  responsibleUserId;
    private  Integer  parentRegionId;

    public String getRegionDescribe() {
        return regionDescribe;
    }

    public void setRegionDescribe(String regionDescribe) {
        this.regionDescribe = regionDescribe;
    }

    public Integer getResponsibleUserId() {
        return responsibleUserId;
    }

    public void setResponsibleUserId(Integer responsibleUserId) {
        this.responsibleUserId = responsibleUserId;
    }

    public Integer getParentRegionId() {
        return parentRegionId;
    }

    public void setParentRegionId(Integer parentRegionId) {
        this.parentRegionId = parentRegionId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private  Integer  isDelete;

    public Region(){

    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }



}
